package com.dongdongshop.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.dongdongshop.mapper.TbGoodsDescMapper;
import com.dongdongshop.pojo.TbGoodsDesc;
import com.dongdongshop.service.GoodsDescService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @Description
 * @ClassName GoodDescServiceImpl
 * @Author RC
 * @date 2020.12.14 11:24
 */
@Component
@Service
public class GoodDescServiceImpl implements GoodsDescService {
    @Autowired
    private TbGoodsDescMapper tbGoodsDescMapper;

    @Override
    public TbGoodsDesc findGoodsDescById(Long goodsId) {
        return tbGoodsDescMapper.selectByPrimaryKey(goodsId);
    }
}
